<div class="navbar-default sidebar" role="navigation">
    <div class="sidebar-nav navbar-collapse">
        <ul class="nav" id="side-menu">
            <li class="sidebar-search">
                <div class="input-group custom-search-form">
                    <input type="text" class="form-control" placeholder="Search..."/>
                    <span class="input-group-btn">
                        <button class="btn btn-default" type="button">
                            <i class="fa fa-search"></i>
                        </button>
                    </span>
                </div>
                <!-- /input-group -->
            </li>
            <li>
                <a href="<?php echo $baseurl?>" <?php if(in_array($controller, array('index')) && in_array($action, array('index'))){echo 'class="active"';}?>><i class="fa fa-dashboard fa-fw"></i> Trang chủ</a>
            </li>
            <li style="display: none;">
                <a href="<?php echo site_url('statistic');?>" <?php if(in_array($controller, array('statistic')) && in_array($action, array('index'))){echo 'class="active"';}?> ><i class="fa fa-bar-chart-o fa-fw"></i> Thống kê nhanh</a>
            </li>
            <?php if($this->session->userdata('level') == 1):?>
            <li>
                <a href="<?php echo site_url('manager-user');?>"  <?php if(in_array($controller, array('manager')) && in_array($action, array('listUser'))){echo 'class="active"';}?>><i class="fa fa-bar-chart-o fa-fw"></i> Quản lý tài khoản</a>
            </li>            
            <?php endif;?>
            <li>
                <a href="<?php echo site_url('list-project');?>"  <?php if(in_array($controller, array('project')) && in_array($action, array('listProject'))){echo 'class="active"';}?>><i class="fa fa-edit fa-fw"></i>Danh sách bảng dự án</a>
            </li>
            <?php if($this->session->userdata("level") != 1){ ?>
            <li>
                <a href="<?php echo site_url('report-user')."?us=".$this->session->userdata("admin_id");?>"><i class="fa fa-bar-chart-o fa-fw"></i>Thống kê tiến độ</a>
            </li>
            <?php }?>
        </ul>
    </div>
    <!-- /.sidebar-collapse -->
</div>
<!-- /.navbar-static-side -->